<template>
  <div id="attAccount">
    <div
      class="notice-up"
      :style="{
      borderRadius:styles.circle+'px',
      marginTop:styles.marginTop+'px',
       marginBottom:styles.marginBottom+'px',
        marginLeft:styles.marginLR+'px',
         marginRight:styles.marginLR+'px',
         backgroundColor:styles.colorBg,
         color:styles.colorWord
    }"
    >
      <div class="notice-up-left">
        <el-image
          style="width: 50px; height: 50px;margin-right:5px;border-radius: 50%"
          :src="styles.hand[0].img==''?img:styles.hand[0].img"
          fit="cover"
        ></el-image>
      </div>
<!--      <el-carousel-->
<!--        class="notice-up-right"-->
<!--        indicator-position="none"-->
<!--        direction="vertical"-->
<!--        :autoplay="true"-->
<!--        :loop="true"-->
<!--      >-->
<!--        <el-carousel-item>{{styles.hand[0].title}}</el-carousel-item>-->
<!--        <el-carousel-item>{{styles.hand[0].title}}</el-carousel-item>-->
<!--      </el-carousel>-->
      <div class="notice-up-right">
        <div class="tit1">公众号名称</div>
        <div class="tit2">公众号描述</div>
      </div>
      <div>
        <div class="gz">关注</div>
      </div>
    </div>
  </div>
</template>

<script>
import { mapState, mapMutations } from "vuex";
export default {
  name: "attAccount",
  data() {
    return {
      img: require("../../../assets/img/blank.png"),
    };
  },
  props: ["styles"],
};
</script>

<style lang="less" scoped>
#attAccount {
  .notice-up {
    background-color: #fff;
    padding: 5px 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 10px;
    .notice-up-right {
      width: 220px;
      height: 62px;
      margin-top: 10px;
      margin-left: 5px;
      //line-height: 30px;
      .tit1{
        font-weight: bold;
        color: #333;
        font-size: 14px;
      }
      .tit2{
        color: #999;
        margin-top: 8px;
        font-size: 12px;
      }
    }
    .gz{
      width: 60px;
      height: 30px;
      line-height: 28px;
      text-align: center;
      border-radius: 4px;
      color: #5daf34;
      border: 1px solid #5daf34;
    }
  }
}
</style>
